#include<stdio.h>
int main(void)
{
    int temp;
	char *week[] = {"illagal day","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"};
	printf("please input number:");
	scanf("%d",&temp);
	if(temp<7)
	{
		switch(temp)
		{
			case 0:
				printf("illagal day\n");
				break;
			case 1:
				printf("Monday\n");
				break;
			case 2:
				printf("Tuesday\n");
				break;
			case 3:
				printf("Wedday\n");
				break;
			case 4:
				printf("Thurday\n");
				break;
			case 5:
				printf("Friday\n");
				break;
			case 6:
				printf("Saturday\n");
				break;
			case 7:
				printf("Sunday\n");
				break;
			default:
				break;
		}
		
	}
	return 0;
}
